From 226b2fa14b249949c7c550645a521a977ecd06da Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 16 Jan 2002 19:12:47 +0000 Subject: [PATCH] Deprecate. (#68183) * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) * gtk/gtkscale.h (gtk_scale_value_width): Remove useless compatibility macro. (#67730) * gtk/changes-2.0.sgml: Details about GtkRange and subclasses rewrite. (#67730) --- ChangeLog | 7 ++++ ChangeLog.pre-2-0 | 7 ++++ ChangeLog.pre-2-10 | 7 ++++ ChangeLog.pre-2-2 | 7 ++++ ChangeLog.pre-2-4 | 7 ++++ ChangeLog.pre-2-6 | 7 ++++ ChangeLog.pre-2-8 | 7 ++++ docs/reference/ChangeLog | 5 +++ docs/reference/gtk/changes-2.0.sgml | 64 +++++++++++++++++++++++++++++ gtk/gtkenums.h | 2 + gtk/gtkscale.h | 4 -- 11 files changed, 120 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 93af52e284..94a6355600 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-01-15 Matthias Clasen + + * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) + + * gtk/gtkscale.h (gtk_scale_value_width): Remove useless + compatibility macro. (#67730) + Wed Jan 16 10:54:38 2002 Owen Taylor * configure.in: Fix typo in --help output. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 93af52e284..94a6355600 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +2002-01-15 Matthias Clasen + + * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) + + * gtk/gtkscale.h (gtk_scale_value_width): Remove useless + compatibility macro. (#67730) + Wed Jan 16 10:54:38 2002 Owen Taylor * configure.in: Fix typo in --help output. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 93af52e284..94a6355600 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2002-01-15 Matthias Clasen + + * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) + + * gtk/gtkscale.h (gtk_scale_value_width): Remove useless + compatibility macro. (#67730) + Wed Jan 16 10:54:38 2002 Owen Taylor * configure.in: Fix typo in --help output. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 93af52e284..94a6355600 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +2002-01-15 Matthias Clasen + + * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) + + * gtk/gtkscale.h (gtk_scale_value_width): Remove useless + compatibility macro. (#67730) + Wed Jan 16 10:54:38 2002 Owen Taylor * configure.in: Fix typo in --help output. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 93af52e284..94a6355600 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +2002-01-15 Matthias Clasen + + * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) + + * gtk/gtkscale.h (gtk_scale_value_width): Remove useless + compatibility macro. (#67730) + Wed Jan 16 10:54:38 2002 Owen Taylor * configure.in: Fix typo in --help output. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 93af52e284..94a6355600 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2002-01-15 Matthias Clasen + + * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) + + * gtk/gtkscale.h (gtk_scale_value_width): Remove useless + compatibility macro. (#67730) + Wed Jan 16 10:54:38 2002 Owen Taylor * configure.in: Fix typo in --help output. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 93af52e284..94a6355600 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2002-01-15 Matthias Clasen + + * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183) + + * gtk/gtkscale.h (gtk_scale_value_width): Remove useless + compatibility macro. (#67730) + Wed Jan 16 10:54:38 2002 Owen Taylor * configure.in: Fix typo in --help output. diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index e75444fe10..6e9331ff41 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2002-01-15 Matthias Clasen + + * gtk/changes-2.0.sgml: Details about GtkRange and subclasses + rewrite. (#67730) + 2002-01-14 Matthias Clasen * gtk/running.sgml: Add ids to some elements to make them diff --git a/docs/reference/gtk/changes-2.0.sgml b/docs/reference/gtk/changes-2.0.sgml index ce05ceed41..1e30020ebf 100644 --- a/docs/reference/gtk/changes-2.0.sgml +++ b/docs/reference/gtk/changes-2.0.sgml @@ -689,6 +689,70 @@ In GTK+ 1.2, if an event handler returned TRUE it prevented how to subclass the old version of GtkRange, you have our respect). Also, GtkTroughType is gone. + + Here are some notable changes: + + + + stepper_size style property is the height for + vertical ranges, width for horizontal; the other dimension matches + the trough size. + + + + + Added the ability to do NeXT-style steppers (and several other styles + that don't make any sense). + + + + + Added min_slider_length, + fixed_slider_length properties to + GtkScrollbar. + + + + + Cleaned some private (or at least useless) functions out of + gtkscale.h, e.g. + gtk_scale_value_width. + + + + + Moved bindings from subclasses to GtkScale, + even arrow keys, since blind users don't know scale orientation. + + + + + Changed move_slider action signal to use new + GtkScrollType, remove + GtkTroughType argument. + + + + + Digits rounds the values a range will input to the given + number of decimals, but will not try to force adjustment + values set by other controllers. That is, we no longer + modify adjustment->value inside a + value_changed handler. + + + + + Added getters for GtkScale setters. + + + + + Middle-click begins a slider drag. + + + + diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 12ae775ee2..a7788fcaef 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -162,6 +162,7 @@ typedef enum GTK_JUSTIFY_FILL } GtkJustification; +#ifndef GTK_DISABLE_DEPRECATED /* GtkPatternSpec match types */ typedef enum { @@ -172,6 +173,7 @@ typedef enum GTK_MATCH_EXACT, /* "AAAAA" */ GTK_MATCH_LAST } GtkMatchType; +#endif /* GTK_DISABLE_DEPRECATED */ /* Menu keyboard movement types */ typedef enum diff --git a/gtk/gtkscale.h b/gtk/gtkscale.h index efa33c6d1c..7bfca7d77e 100644 --- a/gtk/gtkscale.h +++ b/gtk/gtkscale.h @@ -86,10 +86,6 @@ void _gtk_scale_get_value_size (GtkScale *scale, gchar *_gtk_scale_format_value (GtkScale *scale, gdouble value); -#ifndef GTK_DISABLE_DEPRECATED -#define gtk_scale_value_width gtk_scale_get_value_width -#endif /* GTK_DISABLE_DEPRECATED */ - #ifdef __cplusplus } #endif /* __cplusplus */ -- 2.30.2